/*
 * ObjectManager.h
 *
 *  Created on: 03/05/2011
 *      Author: DessaVida
 */

#ifndef OBJECTMANAGER_H_
#define OBJECTMANAGER_H_

#include <map>
#include <vector>
using namespace std;

#include "GameObject.h"
#include "core/Camera.h"

class ObjectManager {
private:
		int playerID;
public:
	map<int, GameObject*> objList;
	ObjectManager();
	virtual ~ObjectManager();

	void update();

	void view(Camera *camera);

	void viewInfo(Camera* camera);

	GameObject *GetPlayer();

	void killObjects();

	GameObject *createPlayer(string playerName);
};

#endif /* OBJECTMANAGER_H_ */
